<!DOCTYPE HTML>
<html lang="en-US">
    <head>
        <meta charset="UTF-8">
        <title>Sistem Pembiayaan</title>
        <link href="<?php echo base_url(); ?>css/bootstrap.min.css" rel="stylesheet" media="screen"/>
        <style type="text/css">
            .login{
                position: relative;
                top: 50px;
                left: 250px;
            }
        </style>
    </head>
    <body>
        <div class="container">
            <div class="row">
                <div class="span6 hero-unit login">
                    <img src="<?php echo base_url('img/logo.png'); ?>" alt="logo" />
                    <h2>Welcome To Program Esdewiraptama</h2>
                    <?php echo form_open('login/proseslogin'); ?>
                    <div class="control-group">
                        <label class="control-label" for="inputEmail">Username</label>
                        <div class="controls">
                            <input type="text" id="inputEmail" placeholder="Username" name="username">
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="inputPassword">Password</label>
                        <div class="controls">
                            <input type="password" id="inputPassword" placeholder="Password" name="password">
                        </div>
                    </div>
                    <div class="control-group">
                        <div class="controls">
                            <button type="submit" class="btn btn-primary">Sign In</button>
                        </div>
                    </div>
                    <?php if (isset($error)) { ?>
                        <div id="sukses" class="alert alert-error" style="text-align: center;">
                            <p><?php echo $error; ?></p>
                        </div>
                    <?php } ?>
                </div>
            </div>
        </div>
    </body>
</html>